package com.heima.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName: UserApplication
 * Package: com.heima.user
 * Description:
 *
 * @Author 周阳阳
 * @Create 2024/10/16 11:09
 * @Version 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient //集成当前的注册中心
@MapperScan("com.heim.user.mapper") //集成mybatis-plus
@EnableFeignClients(basePackages = "com.heima.apis")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
